package com.mswyt.utils.test.validated;

import com.mswyt.utils.base.inter.IMsAssert;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @ClassName: MsAssertImpl
 * @Description:
 */
@Slf4j
@Component
public class MsAssertImpl implements IMsAssert {
    @Override
    public void throwMsg(String msg)   {
        log.info(msg);
        throw new RuntimeException(msg);
    }
}
